package org.boun.swe.ARCEONE.Data;

import com.google.gson.annotations.SerializedName;

public class HandicapType {
    @SerializedName("id")
    public int ID;
    
    @SerializedName("title")
    public String Title;
    
    @SerializedName("description")
    public String Description;

    @SerializedName("parentTypeId")
    public long ParentTypeID;

    @SerializedName("level")
    public int Level;
    
    public boolean isSelected = false;

    @Override
    public String toString(){
    	return Title;
    }
    
    public void toggleSelection(){
    	isSelected = !isSelected;
    }
    
    public void setSelection(boolean selection){
    	isSelected = selection;
    }
}
